<template>
  <view class="search">
      <u-search :disabled="true" @click="navToPages" :show-action="false" shape="square" placeholder="搜索" input-align="center"></u-search>
  </view>
</template>

<script>
export default {
    methods:{
        navToPages(){
            uni.navigateTo({url:"/pages/search/search"})
        }
    }
}
</script>

<style lang="scss" scoped>
.search{
    padding: 10rpx 25rpx;
    background-color: #EB4450;
}
</style>